<template>
<div>
  <keep-alive>
    <router-view></router-view>
  </keep-alive>
  <keep-alive>
    <van-tabbar v-model="active" route fixed placeholder >
    <van-tabbar-item name="home" to="/movie/hot" icon="home-o">电影</van-tabbar-item>
    <van-tabbar-item name="search" to="/cinema" icon="search">影院</van-tabbar-item>
    <van-tabbar-item name="friends" to="/zixun" icon="friends-o">资讯</van-tabbar-item>
    <van-tabbar-item name="setting" to="/personal" icon="user-circle-o">我的</van-tabbar-item>
  </van-tabbar>
  </keep-alive>
</div>
 

</template>

<script>
// import ZiXun from './components/ZiXun.vue

export default {
  name: 'App',
   data() {
    return {
      active: 0,
    };
  },
  components: {
   
  }
}
</script>

<style >
.buy-tickets .btn {
  width: 48px;
  height: 30px;
  line-height: 36px;
  text-align: center;
  box-sizing: border-box;
  background-color: #f03d37;
  color: #fff;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 14px;
  border: none;
}
.buy-tickets .btn.pre-sale {
  background-color: #3c9fe6;
}
.buy-tickets .want-see{
  background-color: #faaf00;
}
.line-ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
</style>
